package com.jiyun.gongsi.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jiyun.pojo.good.Gong;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * 文件名:GoogsMapper
 * 创建者: 闫俊涛
 * 创建时间:2022/6/27 15:52
 * 描述:这是一个实例
 */
@Mapper
public interface GoogsMapper extends BaseMapper<Gong> {
    @Select("select  * from mini_gong where id=#{id}")
    List<Gong> selecByid(@Param("id") Integer id);
}
